package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

public class OliveAssetsRepair extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 报修申请ID */
    @Excel(name = "报修申请ID")
    private Long repairApplicationId;

    /** 资产ID */
    @Excel(name = "资产ID")
    private String assetId;

    /** 申请人ID */
    @Excel(name = "申请人ID")
    private Long userId;

    /** 申请原因 */
    @Excel(name = "申请原因")
    private String repairApplyReason;

    /** 申请时间 */
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date applyTime;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 审核人ID */
    @Excel(name = "审核人ID")
    private String adminId;

    /** 审核时间 */
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date reviewTime;

    /** 维修时间 */
    @Excel(name = "维修时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date repairTime;

    /** 维修结果 */
    @Excel(name = "维修结果")
    private String repairResult;

    /** 维修人ID */
    @Excel(name = "维修人ID")
    private Integer repairPerson;

    /** 维修报告 */
    @Excel(name = "维修报告")
    private String repairReport;



    // Getters and Setters

    public Long getRepairApplicationId() {
        return repairApplicationId;
    }

    public void setRepairApplicationId(Long repairApplicationId) {
        this.repairApplicationId = repairApplicationId;
    }

    public String getAssetId() {
        return assetId;
    }

    public void setAssetId(String assetId) {
        this.assetId = assetId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getRepairApplyReason() {
        return repairApplyReason;
    }

    public void setRepairApplyReason(String repairApplyReason) {
        this.repairApplyReason = repairApplyReason;
    }

    public Date getApplyTime() {
        return applyTime;
    }

    public void setApplyTime(Date applyTime) {
        this.applyTime = applyTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getAdminId() {
        return adminId;
    }

    public void setAdminId(String adminId) {
        this.adminId = adminId;
    }

    public Date getReviewTime() {
        return reviewTime;
    }

    public void setReviewTime(Date reviewTime) {
        this.reviewTime = reviewTime;
    }

    public Date getRepairTime() {
        return repairTime;
    }

    public void setRepairTime(Date repairTime) {
        this.repairTime = repairTime;
    }

    public String getRepairResult() {
        return repairResult;
    }

    public void setRepairResult(String repairResult) {
        this.repairResult = repairResult;
    }

    public Integer getRepairPerson() {
        return repairPerson;
    }

    public void setRepairPerson(Integer repairPerson) {
        this.repairPerson = repairPerson;
    }

    public String getRepairReport() {
        return repairReport;
    }

    public void setRepairReport(String repairReport) {
        this.repairReport = repairReport;
    }


    @Override
    public String toString() {
        return "OliveAssetsRepair{" +
                "repairApplicationId=" + repairApplicationId +
                ", assetId=" + assetId +
                ", userId=" + userId +
                ", repairApplyReason='" + repairApplyReason + '\'' +
                ", applyTime='" + applyTime + '\'' +
                ", status='" + status + '\'' +
                ", adminId=" + adminId +
                ", reviewTime='" + reviewTime + '\'' +
                ", repairTime='" + repairTime + '\'' +
                ", repairResult='" + repairResult + '\'' +
                ", repairPerson=" + repairPerson +
                ", repairReport='" + repairReport + '\'' +
                '}';
    }
}
